package com.xzj.common.id.contract;

import com.xzj.common.id.exception.IdGeneratorException;

/**
 * @program: xzj-common
 * @ClassName: ISnowWorker
 * @description: 雪花算法执行器接口
 * @author: XiaZunJun
 * @create: 2024-07-29 14:06
 */
public interface ISnowWorker {
    long nextId() throws IdGeneratorException;
}
